﻿<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <title>@smartcrm.Controllers.BaseController.APPLICATION_NAME</title>
        <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
        <meta name="viewport" content="width=device-width" /> 
        
        @Scripts.Render("~/bundles/jquery")
        @RenderSection("scripts", required: false)
        @Scripts.Render("~/bundles/jqueryui")
        @Scripts.Render("~/bundles/jqueryform")
        @Scripts.Render("~/bundles/common")
        @Scripts.Render("~/bundles/inputmask")
        @Scripts.Render("~/bundles/ajaxfileupload")

        @Styles.Render("~/Content/themes/base/css")    
        @Styles.Render("~/Content/css")
        @Scripts.Render("~/bundles/modernizr")
    </head>
    <body>
        <header>
            <div class="content-wrapper">
                <div class="float-left">
                    <p class="site-title">@smartcrm.Controllers.BaseController.APPLICATION_NAME</p>
                </div>
                <div class="float-right">
                    <section id="login">
                        @Html.Partial("_PortalLoginPartial")
                    </section>                   
                </div>
               <div class="navigation-container">
                 <div  class="main-navigation">
                    <ul>
                    @if (Session["PortalLoginUser"] != null)
                    {                        
                            <li><a>订单管理</a>
                                <ul>
                                    <li><a href='/Portal/Index'>订单查询</a></li> 
                                    <li><a href='/Portal/CreateOrder'>提交新订单</a></li>                               
                                </ul>
                            </li>
                            <li><a>个人中心</a>
                                <ul>                                   
                                    <li><a href='/Portal/ChangePassword'>更改密码</a></li>                              
                                </ul>
                            </li>                             

                       
                    }  
                        @*<li><a>帮助信息</a>
                            <ul>
                                <li><a href='/Portal/Contact'>联系我们</a></li>
                            </ul>
                        </li> *@  
                     </ul>                     
                    </div>
               </div>
            </div>
        </header>
        <div id="body">
            @RenderSection("featured", required: false)
            <section class="content-wrapper main-content clear-fix">
                @RenderBody()
            </section>
        </div>
        <footer>
            <div class="content-wrapper">
                <center style="color:#939393">
                    <p>
                        &copy; @DateTime.Now.Year - @smartcrm.Controllers.BaseController.APPLICATION_NAME&nbsp;&nbsp;&nbsp;&nbsp;版本：@smartcrm.Controllers.BaseController.APPLICATION_VERSION                   
                        &nbsp;&nbsp; 建议采用Internet Explorer 11及以上版本
                    </p>
                </center>                               
            </div>
        </footer>
        
        <div id="iframeDiv" style=" display:none">
            <iframe src="/Home/State" height="0" width="0"></iframe>
        </div>
    </body>
</html>
